Mapping P4 To Target Architectures